home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 6299 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: dispatch.news.demon.net!demon!redrobe.demon.co.uk
  2. From: Mike@Redrobe.demon.co.uk (Mike)
  3. Newsgroups: comp.sys.amiga.applications,comp.sys.amiga.misc
  4. Subject: Re: DirOpus: Global Commmands?
  5. Date: 23 Feb 96 12:21:27 +0000
  6. Message-ID: <1296.6627T741T1396@Redrobe.demon.co.uk>
  7. References: <4gi9ch$h1k@utdallas.edu>
  8. NNTP-Posting-Host: redrobe.demon.co.uk
  9. X-NNTP-Posting-Host: redrobe.demon.co.uk
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. Hi, jochoa , on 22-Feb-96 17:33:05 you scribbled....
  14. >I was wondering if any one knew how to do global commands in DOpus like a
  15. >person would in XTree-Gold (Ms-Dos).
  16.  
  17. >I would like Dopus to find all file on my HD that I specify (#?.IFF) and
  18. >list them in the opposite window so that I can delete, copy, move to
  19. >another location.
  20.  
  21. >If anyone knows how to get the "Hunt" command to do this, it would be great.
  22. >Even a page number in the doc's would be nice.
  23.  
  24. hmm why not just have a script on a button?
  25.  
  26. ----------------------------------------------------------------------
  27.  
  28. .key sourcedir/A,destdir/A,pattern/A
  29. .bra {
  30. .ket }
  31.  
  32. list {sourcedir} p={pattern} all lformat "copy %P%N {destdir}"  >t:copylist
  33. execute t:copylist
  34. delete t:copylist
  35. ----------------------------------------------------------------------
  36.  
  37. ...and a button with "execute myscript {s} {d} {Rs}" as its commandline?
  38.  
  39. Not exactly what you wanted...but close ;)
  40.  
  41. This *copies* all the files you specify from source window to dest window
  42.  
  43.  
  44. Mike
  45.  
  46.  
  47. BTW that lot was from memory...so I hope the syntax is ok ;)
  48.  
  49. --
  50. ---------------------------------------------------------------------------
  51. Mike Redrobe - Mike@Redrobe.demon.co.uk         MikeRR on #Amiga
  52. ---------------------------------------------------------------------------
  53.  
  54.